@if(isset($_GET['or_type']) && $_GET['or_type'] == 'skeyword')
<div class="row">
  <div class="col-xs-12">
    <div class="box">
      <div class="box-header">
        <h3 class="box-title">{{isset($_GET['keyword'])?$_GET['keyword']:'所有'}}-搜索词分析--{{count($listsOR)}}</h3>
      </div>
      <!-- /.box-header -->
      <div class="box-body">
        <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"><div class="row"><div class="col-sm-6"></div><div class="col-sm-6"></div></div><div class="row"><div class="col-sm-12"><table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info">
              <thead>
              <tr>
                <td>搜索词</td>
                <td>数量</td>
              </tr>
              </thead>
              <tbody>
              @foreach($listsOR as $key=>$obj)
                <tr role="row" class="odd">      
                     <td><a target="_blank" href="?op=checOriginate&domain=all&or_type=keyword&keyword={{$obj->touch}}">{{$obj->touch}}</a></td>
                    <td>{{$obj->count}}</td>
                </tr>
              @endforeach

          </tbody>
          <tfoot>
          </tfoot>
        </table></div></div></div>
      </div>
      <!-- /.box-body -->
    </div>
    <!-- /.box -->
  </div>
  <!-- /.col -->
</div>
<!-- /.row -->

@else
<div class="row">
  <div class="col-xs-12">
    <div class="box">
      <div class="box-header">
        <h3 class="box-title">{{isset($_GET['keyword'])?$_GET['keyword']:'所有'}}-关键词分析--{{count($listsOR)}}</h3>
      </div>
      <!-- /.box-header -->
      <div class="box-body">
        <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"><div class="row"><div class="col-sm-6"></div><div class="col-sm-6"></div></div><div class="row"><div class="col-sm-12"><table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info">
              <thead>
              <tr>
                <td>关键词</td>
                <td>搜索词</td>
                <td>域名</td>
              </tr>
              </thead>
              <tbody>
              @foreach($listsOR as $key=>$obj)
                <tr role="row" class="odd">      
                    <td><a target="_blank" href="?op=checOriginate&domain=all&or_type=skeyword&keyword={{$obj->keyword}}">{{$obj->keyword}}</a></td>
                    <td>{{$obj->touch}}</td>
                    <td>{{$obj->domain}}--{{returnAccout($obj->domain)}}</td>
                </tr>
              @endforeach

          </tbody>
          <tfoot>
          </tfoot>
        </table></div></div></div>
      </div>
      <!-- /.box-body -->
    </div>
    <!-- /.box -->
  </div>
  <!-- /.col -->
</div>
<!-- /.row -->

@endif